package consumer.config;



import javax.jms.Queue;

import org.apache.activemq.command.ActiveMQQueue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class MqConfig {
	@Bean
	public Queue orderTimeOutClose() {
		// 定义一个队列，列队名称sample.queue
		return new ActiveMQQueue("order.timeout.close");
	}

	@Bean
	public Queue addJdQueue() {
		// 定义一个队列，列队名称sample.queue
		return new ActiveMQQueue("add.jd");
	}
}
